/* 全局加载状态样式 */

/* 认证加载容器 */
.auth-loading-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100vh;
  width: 100%;
  background-color: #f0f2f5;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1000;
}

/* 认证加载旋转动画 */
.auth-loading-spinner {
  width: 50px;
  height: 50px;
  border: 5px solid rgba(24, 144, 255, 0.2);
  border-radius: 50%;
  border-top-color: #1890ff;
  animation: auth-spin 1s linear infinite;
  margin-bottom: 20px;
}

@keyframes auth-spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

.auth-loading-container p {
  font-size: 18px;
  color: #333;
  margin: 0;
  font-weight: 500;
}

/* 页面过渡动画 */
.page-transition-enter {
  opacity: 0;
}

.page-transition-enter-active {
  opacity: 1;
  transition: opacity 300ms;
}

.page-transition-exit {
  opacity: 1;
}

.page-transition-exit-active {
  opacity: 0;
  transition: opacity 300ms;
}
